package com.kefu.exam.model;

import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiaoyu
 * @date 2022/10/24
 */
@Data
@TableName(value="exam_cascade_jump")
@ApiModel(description = "级联跳转规则表")
public class ExamCascadeJump implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@TableId(value="cascade_id",type=IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String cascadeId;
    
    @TableField(value="tenant_id")
    @ApiModelProperty(value = "公司ID")
    private String tenantId;
    
    @TableField(value="create_user")
    @ApiModelProperty(value = "创建人")
    private String createUser;
    
    @TableField(value="create_time")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;
    
    @TableField(value="update_user")
    @ApiModelProperty(value = "更新人")
    private String updateUser;
    
    @TableField(value="update_time")
    @ApiModelProperty(value = "更新时间")
    private Long updateTime;
    
    @TableField(value="paper_id")
    @ApiModelProperty(value = "问卷id")
    private String paperId;

    @TableField(exist = false)
    @ApiModelProperty(value = "问卷名称")
    private String paperName;
    
    @TableField(value="subject_id")
    @ApiModelProperty(value = "问题id")
    private String subjectId;

    @TableField(exist = false)
    @ApiModelProperty(value = "问题内容")
    private String subjectContent;
    
    @TableField(value="answer_id")
    @ApiModelProperty(value = "问题答案id")
    private String answerId;

    @TableField(exist = false)
    @ApiModelProperty(value = "答案内容")
    private String answerContent;
    
    @TableField(value="jump_subject")
    @ApiModelProperty(value = "跳转问题id")
    private String jumpSubject;

    @TableField(exist = false)
    @ApiModelProperty(value = "跳转问题内容")
    private String jumpSubjectContent;

    @TableField(exist = false)
    @ApiModelProperty(value = "题目类型")
    private String typeId;

    

}